package com.jbp.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jbp.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 
 * 
 * @author lucheng feng
 * @email jbp@gmail.com
 * @date 2020-06-13 23:01:27
 */

public interface UserDao extends BaseMapper<User> {

    Integer getExperience(Integer userId);

    Integer winCount(String ip);

    List<Integer> youLikeUser(IPage<User> page, Integer userId);
}
